//
// Created by Zhangwj on 2023/9/26.
//

#include "BTypeNode.h"

std::unique_ptr<BTypeNode> BTypeNode::BTypeParser(Parser &parser) {
    //BType → 'int'
    std::unique_ptr<BTypeNode> bTypeNode = std::make_unique<BTypeNode>();
    if (parser.getLexType(0) == LexType::INTTK) {
        parser.next();
    }
    return bTypeNode;
}
